package cn.bonoon.controllers.place;

import cn.bonoon.kernel.support.models.AbstractAjaxNode;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;
import cn.bonoon.kernel.web.annotations.grid.AsTreeGrid;

@AsTreeGrid(value = @GridOptions(operationWith = 140), toggle = false)
public class PlaceItem extends AbstractAjaxNode implements PlaceDefine {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8852362778236719477L;

	@AsColumn(width = 280, ordinal = 0, sortable = false)
	private String name;

	@AsColumn(width = 120, ordinal = 1, sortable = false)
	private String code;

	@AsColumn(width = 60, ordinal = 3, sortable = false)
	private String abbreviationName;

	@AsColumn(width = 60, ordinal = 4, sortable = false)
	private String shortCode;

	@AsColumn(width = 80, ordinal = 2, sortable = false)
	private String level;

	@AsColumn(width = 140, ordinal = 14, sortable = false)
	private String createAt;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAbbreviationName() {
		return abbreviationName;
	}

	public void setAbbreviationName(String abbreviationName) {
		this.abbreviationName = abbreviationName;
	}

	public String getShortCode() {
		return shortCode;
	}

	public void setShortCode(String shortCode) {
		this.shortCode = shortCode;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}


}
